package com.sctvcloud.renhe.beans;

import com.google.gson.JsonArray;

import java.io.Serializable;

/**
 *
 * Created by liuyu on 2017/8/10.
 */

public class SingleResult implements Serializable {
    private static final long serialVersionUID = -332857032952467012L;
    /**
     * 是否成功
     */
    protected boolean isSuccess;

    private String videoUrl;
    private String coverImageUrl;
    private JsonArray images;
    private String avatarUrl;

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getCoverImageUrl() {
        return coverImageUrl;
    }

    public void setCoverImageUrl(String coverImageUrl) {
        this.coverImageUrl = coverImageUrl;
    }

    public JsonArray getImages() {
        return images;
    }

    public void setImages(JsonArray images) {
        this.images = images;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    @Override
    public String toString() {
        return "SingleResult@" + Integer.toHexString(hashCode()) +
                "{isSuccess=" + isSuccess +
                ", videoUrl='" + videoUrl + '\'' +
                ", coverImageUrl='" + coverImageUrl + '\'' +
                ", images=" + images +
                ", avatarUrl='" + avatarUrl + '\'' +
                '}';
    }
}
